GtkSwitch: remove deprecated call.
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 4 Jan 2011 01:08:02 +0000 (02:08 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 4 Jan 2011 02:06:11 +0000 (03:06 +0100)
gtk/gtkswitch.c

index 38e6f98409832783807a2f8c4dc4dfe47385010e..ce1402b071fe82f3502d8d8d45a07d48a42ec027 100644 (file)
@@ -422,8 +422,6 @@ gtk_switch_realize (GtkWidget *widget)
                                        &attributes,
                                        attributes_mask);
   gdk_window_set_user_data (priv->event_window, widget);
-
-  gtk_widget_style_attach (widget);
 }
 
 static void